//******************************************************************************
//  Student.java    Author: Lewis/Loftus
//
//  Represents a college student.
//******************************************************************************

public class Student
{
   private String firstname, lastname;
   private Address homeAddress, schoolAdress;
   //---------------------------------------------------------------------------
   //  Constructor: Sets up this student with the specified valus.
   //---------------------------------------------------------------------------
   public Student(String first, String last, Address home, Address school)
   {
      firstname = first;
      lastname = last;
      homeAddress = home;
      schoolAdress = school;
   }

   //---------------------------------------------------------------------------
   //  Returns a string description of this Student object.
   //---------------------------------------------------------------------------

    public String toString()
    {
       String result;

       result = firstname + " " + lastname + "\n";
       result += "Home Adress:\n" + homeAddress + "\n";
       result += "School Adress:\n" + schoolAdress;

       return result;
    }
}
